package com.atguigu.gmallre.mock.mapper.adv;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface AdvMapper<T> extends BaseMapper<T> {

    @Update("${sql}")
    public void executeSql(@Param("sql") String sql);


    @Update("truncate table ${tableName}")
    public void truncateTable(@Param("tableName") String tableName);
}
